package com.szxydb.dmp.admin.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.szxydb.dmp.admin.system.model.SystemAttachment;
import com.szxydb.dmp.admin.upload.vo.FileResultVo;
import com.szxydb.dmp.common.PageParamRequest;

import java.util.List;

public interface SystemAttachmentService extends IService<SystemAttachment> {

    void create(FileResultVo file,Integer pid);

    void async();

    void updateCloudType(Integer attId,int type);

    List<SystemAttachment> getList(Integer pid, PageParamRequest pageParamRequest);

    String prefixImage(String path);

    String prefixFile(String path);

    String clearPrefix(String attribute);

    List<SystemAttachment> getByEntity(SystemAttachment systemAttachment);
}
